import Vue from "vue"
import VueRouter from "vue-router"

Vue.use(VueRouter)

const routes = [
  { path: '/login',
    meta: { title: '登录', noCache: true },
    component: () => import('../views/login'),
    hidden: true
  },
  { path: '/index',
    meta: { title: '登录', noCache: true },
    component: () => import('../components/index'),
    hidden: true
  },
  {
    path: '/404',
    component: () => import('../views/login'),
    hidden: true
  },
  {
    path: '/401',
    component: () => import('../views/login'),
    hidden: true
  }
]

export default new VueRouter({
  routes
})
